package ws

type WsPackage struct {
	MessageType int
	Data        []byte
}

func NewWsPackage(messageType int, data []byte) *WsPackage {
	return &WsPackage{
		MessageType: messageType,
		Data:        data,
	}
}
